package us.gaaoc.framework.webapp.backingbeans.agent.reports;

import org.jfree.chart.JFreeChart;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.transaction.annotation.Transactional;


import us.gaaoc.framework.util.ReportChartUtil;
import us.gaaoc.framework.webapp.backingbeans.BaseBackingBean;

public class PersonStatistics extends BaseBackingBean{
	
	private int numberOfChildren;
	private int numberOfDefendents;
	
	
	public int getNumberOfChildren() {
		numberOfChildren=this.getModelFacade().countChildren();
		//System.out.println("numberOfChildren="+numberOfChildren);
		return numberOfChildren;
	}
	public void setNumberOfChildren(int numberOfChildren) {
		this.numberOfChildren = numberOfChildren;
	}
	public int getNumberOfDefendents() {
		numberOfDefendents=this.getModelFacade().countDefendents();
		//System.out.println("numberOfDefendents="+numberOfDefendents);
		return numberOfDefendents;
	}
	public void setNumberOfDefendents(int numberOfDefendents) {
		this.numberOfDefendents = numberOfDefendents;
	}
	public String back() {
		return "back";
	}

}
